/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package grasp;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.* ;

/**
 *
 * @author walter
 */
public class Grasp {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, IOException {
        // TODO code application logic here
        
        Algoritmo alg = new Algoritmo() ;
        ArrayList<Integer> route = alg.read() ;
        Ciudad or = alg.arCity.get( route.get( 0 ) ) ;
        Ciudad dest = alg.arCity.get( route.get( 1 ) ) ;
        ArrayList<Double> resp = alg.start( or , dest , 4 ) ;
        alg.print( resp ) ;
    }
}
